package org.test.regex;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

import org.junit.Test;


public class Regex {

	
	@Test
	public void test(){
		
		Pattern p = Pattern.compile("\\d+"); 
		
		Matcher m = p.matcher("123s");
	
		System.out.println(m.replaceAll("he"));
		
	}
}
